function output = ActionToString(action, reward,num_players_r, num_players_b)
    
dribble = 1;
get_open = 2 + num_players_r;
go_to_ball = 3 + num_players_r;

if(action == dribble)
    output = sprintf('Dribble : %s',num2str(reward));
elseif(action == get_open)
    output = sprintf('GetOpen : %s',num2str(reward));
elseif(action == go_to_ball)
    output = sprintf('GoToBall : %s',num2str(reward));
elseif(action < get_open)
    output = sprintf('PassBall(%s) : %s',num2str(action-1),num2str(reward));
elseif(action <= 3 + num_players_r + num_players_b)
    output = sprintf('BlockPass(%s) : %s',num2str(action - 3 - num_players_r),num2str(reward));
else
    output = 'Invalid Action';
end

end